package com.zy.algorithm.v2.sort;

import com.zy.algorithm.v2.SortUtilsV2;
import com.zy.algorithm.v2.bean.SimpleNode;

import java.util.List;

public class BubbleSortFragment extends BaseSortFragmentV2 {

    @Override
    protected String getTitle() {
        return "冒泡排序";
    }

    @Override
    List<SimpleNode> getDataList() {
        return SortUtilsV2.bubbleSortAnimationV2(300, 1100);
    }

    @Override
    protected int curD() {
        return 8;
    }
}
